package com.smile.frame.mq.rocket.message;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 购物车事件
 *
 * @author LGC
 * @date 2021/12/16 19:07
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CartItemEvent implements Serializable {
    private static final long serialVersionUID = 552492835317298901L;

    /**
     * 商品ID
     */
    private Long itemId;

    /**
     * 商品数量
     */
    private Integer quantity;

}
